package net.maku.kyy.entity;

import lombok.*;
import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;

/**
 * 用户的游戏表
 *
 * @author MAKU babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("kyy_user_game")
public class KyyUserGameEntity {
	/**
	* id
	*/
	@TableId
	@TableField(value = "id")
	private Long id;

	/**
	* 游戏id
	*/
	@TableField(value = "kyy_game_id")
	private Integer kyyGameId;

	/**
	* 游戏名称
	*/
	@TableField(value = "kyy_game_appname")
	private String kyyGameAppname;

	/**
	* 游戏logo
	*/
	@TableField(value = "kyy_game_logo")
	private String kyyGameLogo;

	/**
	* 游戏完整链接
	*/
	@TableField(value = "kyy_game_url")
	private String kyyGameUrl;

	/**
	* kyy用户id、创建者的d
	*/
	@TableField(value = "creator", fill = FieldFill.INSERT)
	private Long creator;

	/**
	* 删除标识  0：正常   1：已删除
	*/
	@TableField(value = "deleted")
	private Integer deleted;

	@TableField(value = "create_time", fill = FieldFill.INSERT)
	private LocalDateTime createTime;

	@TableField(value = "updater", fill = FieldFill.INSERT_UPDATE)
	private Long updater;

	@TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime updateTime;

}